<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): CPTPlot Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('interface_c_p_t_plot.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">CPTPlot Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CPTPlot" --><!-- doxytag: inherits="CPTAnnotationHostLayer" -->
<p>An abstract plot class.  
 <a href="interface_c_p_t_plot.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for CPTPlot:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="interface_c_p_t_plot__inherit__graph.png" border="0" usemap="#_c_p_t_plot_inherit__map" alt="Inheritance graph"/></div>
<map name="_c_p_t_plot_inherit__map" id="_c_p_t_plot_inherit__map">
<area shape="rect" id="node18" href="interface_c_p_t_bar_plot.html" title="A two&#45;dimensional bar plot." alt="" coords="5,486,96,517"/><area shape="rect" id="node20" href="interface_c_p_t_pie_chart.html" title="A pie chart." alt="" coords="121,486,220,517"/><area shape="rect" id="node22" href="interface_c_p_t_range_plot.html" title="A plot class representing a range of values in one coordinate, such as typically used to show errors..." alt="" coords="245,486,355,517"/><area shape="rect" id="node24" href="interface_c_p_t_scatter_plot.html" title="A two&#45;dimensional scatter plot." alt="" coords="380,486,495,517"/><area shape="rect" id="node26" href="interface_c_p_t_trading_range_plot.html" title="A trading range financial plot." alt="" coords="518,486,679,517"/><area shape="rect" id="node2" href="interface_c_p_t_annotation_host_layer.html" title="A container layer for annotations." alt="" coords="209,326,391,357"/><area shape="rect" id="node4" href="interface_c_p_t_layer.html" title="Base class for all Core Animation layers in Core Plot." alt="" coords="260,246,340,277"/><area shape="rect" id="node6" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CALayer_class/Introduction/Introduction.html" title="CALayer" alt="" coords="199,166,272,197"/><area shape="rect" id="node8" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html" title="NSObject" alt="" coords="64,86,144,117"/><area shape="rect" id="node10" href="http://developer.apple.com/iPhone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html" title="\&lt;NSObject&#45;p\&gt;" alt="" coords="176,6,293,37"/><area shape="rect" id="node14" href="protocol_c_p_t_responder-p.html" title="The basis of all event processing in Core Plot." alt="" coords="297,166,433,197"/><area shape="rect" id="node12" href="http://www.devworld.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CAMediaTiming_protocol/Introduction/Introduction.html" title="\&lt;CAMediaTiming&#45;p\&gt;" alt="" coords="168,86,328,117"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for CPTPlot:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="interface_c_p_t_plot__coll__graph.png" border="0" usemap="#_c_p_t_plot_coll__map" alt="Collaboration graph"/></div>
<map name="_c_p_t_plot_coll__map" id="_c_p_t_plot_coll__map">
<area shape="rect" id="node2" href="interface_c_p_t_annotation_host_layer.html" title="A container layer for annotations." alt="" coords="150,326,332,357"/><area shape="rect" id="node4" href="interface_c_p_t_layer.html" title="Base class for all Core Animation layers in Core Plot." alt="" coords="201,246,281,277"/><area shape="rect" id="node6" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CALayer_class/Introduction/Introduction.html" title="CALayer" alt="" coords="140,166,213,197"/><area shape="rect" id="node8" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html" title="NSObject" alt="" coords="5,86,85,117"/><area shape="rect" id="node10" href="http://developer.apple.com/iPhone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html" title="\&lt;NSObject&#45;p\&gt;" alt="" coords="117,6,235,37"/><area shape="rect" id="node14" href="protocol_c_p_t_responder-p.html" title="The basis of all event processing in Core Plot." alt="" coords="238,166,375,197"/><area shape="rect" id="node12" href="http://www.devworld.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CAMediaTiming_protocol/Introduction/Introduction.html" title="\&lt;CAMediaTiming&#45;p\&gt;" alt="" coords="109,86,269,117"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_c_p_t_plot-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Instance Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Plot Data</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a9c0c497a111974900062776de03b3738">numbersFromDataSourceForField:recordIndexRange:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a range of plot data for the given plot and field.  <a href="#a9c0c497a111974900062776de03b3738"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Plot Data Ranges</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_plot_range.html">CPTPlotRange</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#aa82038cde6e710a65e2d04d12f727602">plotRangeForField:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the smallest plot range that fully encloses the data for a particular field.  <a href="#aa82038cde6e710a65e2d04d12f727602"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_plot_range.html">CPTPlotRange</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#ab11593d353d63f2cc8b73c286681352b">plotRangeForCoordinate:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the smallest plot range that fully encloses the data for a particular coordinate.  <a href="#ab11593d353d63f2cc8b73c286681352b"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Legends</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a26d4458527479b7b55bbd9cfcfadd5d6">numberOfLegendEntries</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of legend entries provided by this plot.  <a href="#a26d4458527479b7b55bbd9cfcfadd5d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a1066e5f68687c2a4f97f19398912d36e">titleForLegendEntryAtIndex:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The title text of a legend entry.  <a href="#a1066e5f68687c2a4f97f19398912d36e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#abe4e69caf2e8163449edf9a85916bbf9">drawSwatchForLegend:atIndex:inRect:inContext:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the legend swatch of a legend entry. Subclasses should call super to draw the background fill and border.  <a href="#abe4e69caf2e8163449edf9a85916bbf9"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Fields</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a7095b4dca95e6e93fb222aa5c0a96bce">numberOfFields</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of fields in a plot data record.  <a href="#a7095b4dca95e6e93fb222aa5c0a96bce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a2d76f1890e3cc9406526f3cf853d3b02">fieldIdentifiers</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Identifiers (enum values) identifying the fields.  <a href="#a2d76f1890e3cc9406526f3cf853d3b02"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a0467a2b65d0204c0cfb4eeeb59e8ba40">fieldIdentifiersForCoordinate:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The field identifiers that correspond to a particular coordinate.  <a href="#a0467a2b65d0204c0cfb4eeeb59e8ba40"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Data Source</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70ea6800f69ac9c00db1a54d1585af90"></a><!-- doxytag: member="CPTPlot::dataSource" ref="a70ea6800f69ac9c00db1a54d1585af90" args="" -->
<a class="el" href="_c_p_t_definitions_8h.html#abd26af4304957387867e6e9e8cef1576">__cpt_weak</a> <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>&lt; <a class="el" href="protocol_c_p_t_plot_data_source-p.html">CPTPlotDataSource</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a70ea6800f69ac9c00db1a54d1585af90">dataSource</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The data source for the plot. <br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Identification</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2986294ed55c924b3264415d92db14a8"></a><!-- doxytag: member="CPTPlot::identifier" ref="a2986294ed55c924b3264415d92db14a8" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>&lt; NSCopying, NSCoding, <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a2986294ed55c924b3264415d92db14a8">identifier</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An object used to identify the plot in collections. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3776bf9d88331714e8dde311c571e4b9"></a><!-- doxytag: member="CPTPlot::title" ref="a3776bf9d88331714e8dde311c571e4b9" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a3776bf9d88331714e8dde311c571e4b9">title</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The title of the plot displayed in the legend. <br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Plot Space</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aedbe912b2c94255949e9b6468f9d84c2"></a><!-- doxytag: member="CPTPlot::plotSpace" ref="aedbe912b2c94255949e9b6468f9d84c2" args="" -->
<a class="el" href="interface_c_p_t_plot_space.html">CPTPlotSpace</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#aedbe912b2c94255949e9b6468f9d84c2">plotSpace</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The plot space for the plot. <br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Plot Area</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9a1a50376c4de43d67516317a60620a"></a><!-- doxytag: member="CPTPlot::plotArea" ref="ac9a1a50376c4de43d67516317a60620a" args="" -->
<a class="el" href="interface_c_p_t_plot_area.html">CPTPlotArea</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#ac9a1a50376c4de43d67516317a60620a">plotArea</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The plot area for the plot. <br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Drawing</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85bd79412662cc014099ed0156295679"></a><!-- doxytag: member="CPTPlot::alignsPointsToPixels" ref="a85bd79412662cc014099ed0156295679" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a85bd79412662cc014099ed0156295679">alignsPointsToPixels</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If YES (the default), all plot points will be aligned to device pixels when drawing. <br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Data Loading</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab0a298fb5279d80d41863ab1338c246"></a><!-- doxytag: member="CPTPlot::dataNeedsReloading" ref="aab0a298fb5279d80d41863ab1338c246" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#aab0a298fb5279d80d41863ab1338c246">dataNeedsReloading</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If YES, the plot data will be reloaded from the data source before the layer content is drawn. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfe6ff4ab292b2e176725746447d00ad"></a><!-- doxytag: member="CPTPlot::setDataNeedsReloading" ref="acfe6ff4ab292b2e176725746447d00ad" args="()" -->
(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#acfe6ff4ab292b2e176725746447d00ad">setDataNeedsReloading</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Marks the receiver as needing the data source reloaded before the content is next drawn. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa057480faff658c8f29cfe19a62ec0e7"></a><!-- doxytag: member="CPTPlot::reloadData" ref="aa057480faff658c8f29cfe19a62ec0e7" args="()" -->
(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#aa057480faff658c8f29cfe19a62ec0e7">reloadData</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reload all plot data from the data source immediately. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e035ab29bb66dfe2c31a3bfdcadc014"></a><!-- doxytag: member="CPTPlot::reloadDataIfNeeded" ref="a5e035ab29bb66dfe2c31a3bfdcadc014" args="()" -->
(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a5e035ab29bb66dfe2c31a3bfdcadc014">reloadDataIfNeeded</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reload plot data from the data source only if the data cache is out of date. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#ac7a928fc9838d07ac188d4fef2015c07">reloadDataInIndexRange:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reload plot data in the given index range from the data source immediately.  <a href="#ac7a928fc9838d07ac188d4fef2015c07"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#ab3c45087d014d31a56d8911b3db89040">insertDataAtIndex:numberOfRecords:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert records into the plot data cache at the given index.  <a href="#ab3c45087d014d31a56d8911b3db89040"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#aeda28869b1ab7bbcee58ced6635098bd">deleteDataInIndexRange:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete records in the given index range from the plot data cache.  <a href="#aeda28869b1ab7bbcee58ced6635098bd"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Data Cache</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8be7b7e904558fbd5ea954704ae9355a"></a><!-- doxytag: member="CPTPlot::cachedDataCount" ref="a8be7b7e904558fbd5ea954704ae9355a" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a8be7b7e904558fbd5ea954704ae9355a">cachedDataCount</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of data points stored in the cache. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ea1af2352130e3f994fb57340222331"></a><!-- doxytag: member="CPTPlot::doublePrecisionCache" ref="a8ea1af2352130e3f994fb57340222331" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a8ea1af2352130e3f994fb57340222331">doublePrecisionCache</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If YES, the cache holds data of type 'double', otherwise it holds <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.html">NSNumber</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad34d0810dfd59c6a5cac16af8d4be7f1"></a><!-- doxytag: member="CPTPlot::cachePrecision" ref="ad34d0810dfd59c6a5cac16af8d4be7f1" args="" -->
<a class="el" href="_c_p_t_plot_8h.html#aef00234f651d15b750b224281f151a88">CPTPlotCachePrecision</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#ad34d0810dfd59c6a5cac16af8d4be7f1">cachePrecision</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The numeric precision used to cache the plot data and perform all plot calculations. Defaults to CPTPlotCachePrecisionAuto. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaca5aa7610aa5d694f83cfaaa39f2bb0"></a><!-- doxytag: member="CPTPlot::doubleDataType" ref="aaca5aa7610aa5d694f83cfaaa39f2bb0" args="" -->
<a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#aaca5aa7610aa5d694f83cfaaa39f2bb0">doubleDataType</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The CPTNumericDataType used to cache plot data as <code>double</code>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d4a0347d075ee17c058739438dc32ba"></a><!-- doxytag: member="CPTPlot::decimalDataType" ref="a3d4a0347d075ee17c058739438dc32ba" args="" -->
<a class="el" href="_c_p_t_numeric_data_type_8h.html#a0b911106a65975081b0063bf419b294b">CPTNumericDataType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a3d4a0347d075ee17c058739438dc32ba">decimalDataType</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The CPTNumericDataType used to cache plot data as <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_mutable_numeric_data.html">CPTMutableNumericData</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#aff032ba633d5eb1766ee8849bcd19fb0">cachedNumbersForField:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves an array of numbers from the cache.  <a href="#aff032ba633d5eb1766ee8849bcd19fb0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.html">NSNumber</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a992adf7119df39d7f10320c48084dbe6">cachedNumberForField:recordIndex:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a single number from the cache.  <a href="#a992adf7119df39d7f10320c48084dbe6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(double)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a2094588e0c3777b7f722a197ed413943">cachedDoubleForField:recordIndex:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a single number from the cache.  <a href="#a2094588e0c3777b7f722a197ed413943"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a66bfafb7ca36a701fcc02adf3c10e301">cachedDecimalForField:recordIndex:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a single number from the cache.  <a href="#a66bfafb7ca36a701fcc02adf3c10e301"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#adaeec1786488ff9517549ea5df9e1619">cacheNumbers:forField:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies an array of numbers to the cache.  <a href="#adaeec1786488ff9517549ea5df9e1619"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a585e6360378a42760007251b07acade7">cacheNumbers:forField:atRecordIndex:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies an array of numbers to replace a part of the cache.  <a href="#a585e6360378a42760007251b07acade7"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Data Labels</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19e9597f65f86a5116761c28a93fd177"></a><!-- doxytag: member="CPTPlot::needsRelabel" ref="a19e9597f65f86a5116761c28a93fd177" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a19e9597f65f86a5116761c28a93fd177">needsRelabel</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">If YES, the plot needs to be relabeled before the layer content is drawn. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9e258bb5f1e2385674299200c4eed799"></a><!-- doxytag: member="CPTPlot::labelOffset" ref="ga9e258bb5f1e2385674299200c4eed799" args="" -->
CGFloat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__plot_animation_all_plots.html#ga9e258bb5f1e2385674299200c4eed799">labelOffset</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The distance that labels should be offset from their anchor points. The direction of the offset is defined by subclasses. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1e0c675adacdd43c50517622154f6301"></a><!-- doxytag: member="CPTPlot::labelRotation" ref="ga1e0c675adacdd43c50517622154f6301" args="" -->
CGFloat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__plot_animation_all_plots.html#ga1e0c675adacdd43c50517622154f6301">labelRotation</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The rotation of the data labels in radians. Set this property to <code>M_PI/2.0</code> to have labels read up the screen, for example. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81a914a9ee10c3dad42d4f62581345ee"></a><!-- doxytag: member="CPTPlot::labelField" ref="a81a914a9ee10c3dad42d4f62581345ee" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a81a914a9ee10c3dad42d4f62581345ee">labelField</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The plot field identifier of the data field used to generate automatic labels. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f0cd0ab1010293496ac51b1e2069069"></a><!-- doxytag: member="CPTPlot::labelTextStyle" ref="a9f0cd0ab1010293496ac51b1e2069069" args="" -->
<a class="el" href="interface_c_p_t_text_style.html">CPTTextStyle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a9f0cd0ab1010293496ac51b1e2069069">labelTextStyle</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The text style used to draw the data labels. Set this property to <code>nil</code> to hide the data labels. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e9aa3377d735ea084dc4b8882a4a061"></a><!-- doxytag: member="CPTPlot::labelFormatter" ref="a1e9aa3377d735ea084dc4b8882a4a061" args="" -->
<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSNumberFormatter_Class/Reference/Reference.html#//apple_ref/occ/cl/NSNumberFormatter.html">NSNumberFormatter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a1e9aa3377d735ea084dc4b8882a4a061">labelFormatter</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The number formatter used to format the data labels. Set this property to <code>nil</code> to hide the data labels. If you need a non-numerical label, such as a date, you can use a formatter than turns the numerical plot coordinate into a string (e.g., "Jan 10, 2010"). The <a class="el" href="interface_c_p_t_time_formatter.html" title="A number formatter that converts time intervals to dates. Useful for formatting labels on an axis...">CPTTimeFormatter</a> is useful for this purpose. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a376158970f696bfccddc8be660153d8d"></a><!-- doxytag: member="CPTPlot::labelShadow" ref="a376158970f696bfccddc8be660153d8d" args="" -->
<a class="el" href="interface_c_p_t_shadow.html">CPTShadow</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_plot.html#a376158970f696bfccddc8be660153d8d">labelShadow</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The shadow applied to each data label. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a0947c9947f44847ad89ee01ab762a5c4">setNeedsRelabel</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Marks the receiver as needing to update all data labels before the content is next drawn.  <a href="#a0947c9947f44847ad89ee01ab762a5c4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f5c19d04b743782b00a409136cde65a"></a><!-- doxytag: member="CPTPlot::relabel" ref="a9f5c19d04b743782b00a409136cde65a" args="()" -->
(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a9f5c19d04b743782b00a409136cde65a">relabel</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the data labels in the labelIndexRange. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a5321f1ed99f4a88d40b723bb55555d55">relabelIndexRange:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Marks the receiver as needing to update a range of data labels before the content is next drawn.  <a href="#a5321f1ed99f4a88d40b723bb55555d55"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87c902dd9188525c6973f475d83ec381"></a><!-- doxytag: member="CPTPlot::repositionAllLabelAnnotations" ref="a87c902dd9188525c6973f475d83ec381" args="()" -->
(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#a87c902dd9188525c6973f475d83ec381">repositionAllLabelAnnotations</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Repositions all existing label annotations. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_plot.html#ac9db7bb0cac2d54ec7f843c23c48a7eb">positionLabelAnnotation:forIndex:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjusts the position of the data label annotation for the plot point at the given index.  <a href="#ac9db7bb0cac2d54ec7f843c23c48a7eb"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An abstract plot class. </p>
<p>Each data series on the graph is represented by a plot. Data is provided by a datasource that conforms to the <a class="el" href="protocol_c_p_t_plot_data_source-p.html" title="A plot data source.">CPTPlotDataSource</a> protocol.</p>
<p>A Core Plot plot will request its data from the datasource when it is first displayed. You can force it to load new data in several ways:</p>
<ul>
<li>Call <a class="el" href="interface_c_p_t_graph.html#ade4d525c343ba79e1d72d92b8ea47c8d">-reloadData </a> on the graph to reload all plots.</li>
<li>Call <a class="el" href="interface_c_p_t_plot.html#aa057480faff658c8f29cfe19a62ec0e7">-reloadData </a> on the plot to reload all of the data for only that plot.</li>
<li>Call <a class="el" href="interface_c_p_t_plot.html#ac7a928fc9838d07ac188d4fef2015c07">-reloadDataInIndexRange: </a> on the plot to reload a range of data indices without changing the total number of data points.</li>
<li>Call <a class="el" href="interface_c_p_t_plot.html#ab3c45087d014d31a56d8911b3db89040">-insertDataAtIndex:numberOfRecords: </a> to insert new data at the given index. Any data at higher indices will be moved to make room. Only the new data will be requested from the datasource.</li>
</ul>
<p>You can also remove data from the plot without reloading anything by using the <a class="el" href="interface_c_p_t_plot.html#aeda28869b1ab7bbcee58ced6635098bd">-deleteDataInIndexRange: </a> method.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>See <a class="el" href="group__plot_animation.html">Plots</a> for a list of animatable properties supported by each plot type. </dd></dl>
</div><hr/><h2>Method Documentation</h2>
<a class="anchor" id="a66bfafb7ca36a701fcc02adf3c10e301"></a><!-- doxytag: member="CPTPlot::cachedDecimalForField:recordIndex:" ref="a66bfafb7ca36a701fcc02adf3c10e301" args="(NSUInteger fieldEnum,[recordIndex] NSUInteger index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>) cachedDecimalForField: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>fieldEnum</em></td>
        </tr>
        <tr>
          <td class="paramkey">recordIndex:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves a single number from the cache. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fieldEnum</td><td>The field enumerator identifying the field. </td></tr>
    <tr><td class="paramname">index</td><td>The index of the desired data value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The cached number or NAN if no data is cached for the requested field. </dd></dl>

</div>
</div>
<a class="anchor" id="a2094588e0c3777b7f722a197ed413943"></a><!-- doxytag: member="CPTPlot::cachedDoubleForField:recordIndex:" ref="a2094588e0c3777b7f722a197ed413943" args="(NSUInteger fieldEnum,[recordIndex] NSUInteger index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (double) cachedDoubleForField: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>fieldEnum</em></td>
        </tr>
        <tr>
          <td class="paramkey">recordIndex:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves a single number from the cache. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fieldEnum</td><td>The field enumerator identifying the field. </td></tr>
    <tr><td class="paramname">index</td><td>The index of the desired data value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The cached number or NAN if no data is cached for the requested field. </dd></dl>

</div>
</div>
<a class="anchor" id="a992adf7119df39d7f10320c48084dbe6"></a><!-- doxytag: member="CPTPlot::cachedNumberForField:recordIndex:" ref="a992adf7119df39d7f10320c48084dbe6" args="(NSUInteger fieldEnum,[recordIndex] NSUInteger index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.html">NSNumber</a> *) cachedNumberForField: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>fieldEnum</em></td>
        </tr>
        <tr>
          <td class="paramkey">recordIndex:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves a single number from the cache. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fieldEnum</td><td>The field enumerator identifying the field. </td></tr>
    <tr><td class="paramname">index</td><td>The index of the desired data value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The cached number. </dd></dl>

</div>
</div>
<a class="anchor" id="aff032ba633d5eb1766ee8849bcd19fb0"></a><!-- doxytag: member="CPTPlot::cachedNumbersForField:" ref="aff032ba633d5eb1766ee8849bcd19fb0" args="(NSUInteger fieldEnum)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_p_t_mutable_numeric_data.html">CPTMutableNumericData</a> *) <a class="el" href="interface_c_p_t_plot.html#aff032ba633d5eb1766ee8849bcd19fb0">cachedNumbersForField:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>fieldEnum</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves an array of numbers from the cache. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fieldEnum</td><td>The field enumerator identifying the field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The array of cached numbers. </dd></dl>

</div>
</div>
<a class="anchor" id="adaeec1786488ff9517549ea5df9e1619"></a><!-- doxytag: member="CPTPlot::cacheNumbers:forField:" ref="adaeec1786488ff9517549ea5df9e1619" args="(id numbers,[forField] NSUInteger fieldEnum)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) cacheNumbers: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td>
          <td class="paramname"><em>numbers</em></td>
        </tr>
        <tr>
          <td class="paramkey">forField:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>fieldEnum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies an array of numbers to the cache. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">numbers</td><td>An array of numbers to cache. Can be a <a class="el" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a>, <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a>, or <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> is assumed to be a c-style array of type <code>double</code>). </td></tr>
    <tr><td class="paramname">fieldEnum</td><td>The field enumerator identifying the field. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a585e6360378a42760007251b07acade7"></a><!-- doxytag: member="CPTPlot::cacheNumbers:forField:atRecordIndex:" ref="a585e6360378a42760007251b07acade7" args="(id numbers,[forField] NSUInteger fieldEnum,[atRecordIndex] NSUInteger index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) cacheNumbers: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td>
          <td class="paramname"><em>numbers</em></td>
        </tr>
        <tr>
          <td class="paramkey">forField:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>fieldEnum</em></td>
        </tr>
        <tr>
          <td class="paramkey">atRecordIndex:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies an array of numbers to replace a part of the cache. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">numbers</td><td>An array of numbers to cache. Can be a <a class="el" href="interface_c_p_t_numeric_data.html" title="An annotated NSData type.">CPTNumericData</a>, <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a>, or <a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html">NSData</a> is assumed to be a c-style array of type <code>double</code>). </td></tr>
    <tr><td class="paramname">fieldEnum</td><td>The field enumerator identifying the field. </td></tr>
    <tr><td class="paramname">index</td><td>The index of the first data point to replace. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aeda28869b1ab7bbcee58ced6635098bd"></a><!-- doxytag: member="CPTPlot::deleteDataInIndexRange:" ref="aeda28869b1ab7bbcee58ced6635098bd" args="(NSRange indexRange)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) <a class="el" href="interface_c_p_t_plot.html#aeda28869b1ab7bbcee58ced6635098bd">deleteDataInIndexRange:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSRange</a>)&#160;</td>
          <td class="paramname"><em>indexRange</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete records in the given index range from the plot data cache. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">indexRange</td><td>The index range of the data records to remove. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abe4e69caf2e8163449edf9a85916bbf9"></a><!-- doxytag: member="CPTPlot::drawSwatchForLegend:atIndex:inRect:inContext:" ref="abe4e69caf2e8163449edf9a85916bbf9" args="(CPTLegend *legend,[atIndex] NSUInteger index,[inRect] CGRect rect,[inContext] CGContextRef context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) drawSwatchForLegend: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_legend.html">CPTLegend</a> *)&#160;</td>
          <td class="paramname"><em>legend</em></td>
        </tr>
        <tr>
          <td class="paramkey">atIndex:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em></td>
        </tr>
        <tr>
          <td class="paramkey">inRect:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGRect.html">CGRect</a>)&#160;</td>
          <td class="paramname"><em>rect</em></td>
        </tr>
        <tr>
          <td class="paramkey">inContext:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)&#160;</td>
          <td class="paramname"><em>context</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws the legend swatch of a legend entry. Subclasses should call super to draw the background fill and border. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">legend</td><td>The legend being drawn. </td></tr>
    <tr><td class="paramname">index</td><td>The index of the desired swatch. </td></tr>
    <tr><td class="paramname">rect</td><td>The bounding rectangle where the swatch should be drawn. </td></tr>
    <tr><td class="paramname">context</td><td>The graphics context to draw into. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2d76f1890e3cc9406526f3cf853d3b02"></a><!-- doxytag: member="CPTPlot::fieldIdentifiers" ref="a2d76f1890e3cc9406526f3cf853d3b02" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a> *) <a class="el" href="interface_c_p_t_plot.html#a2d76f1890e3cc9406526f3cf853d3b02">fieldIdentifiers</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Identifiers (enum values) identifying the fields. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Array of NSNumbers for the various field identifiers. </dd></dl>

</div>
</div>
<a class="anchor" id="a0467a2b65d0204c0cfb4eeeb59e8ba40"></a><!-- doxytag: member="CPTPlot::fieldIdentifiersForCoordinate:" ref="a0467a2b65d0204c0cfb4eeeb59e8ba40" args="(CPTCoordinate coord)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html">NSArray</a> *) <a class="el" href="interface_c_p_t_plot.html#a0467a2b65d0204c0cfb4eeeb59e8ba40">fieldIdentifiersForCoordinate:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7">CPTCoordinate</a>)&#160;</td>
          <td class="paramname"><em>coord</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The field identifiers that correspond to a particular coordinate. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">coord</td><td>The coordinate for which the corresponding field identifiers are desired. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Array of NSNumbers for the field identifiers. </dd></dl>

</div>
</div>
<a class="anchor" id="ab3c45087d014d31a56d8911b3db89040"></a><!-- doxytag: member="CPTPlot::insertDataAtIndex:numberOfRecords:" ref="ab3c45087d014d31a56d8911b3db89040" args="(NSUInteger index,[numberOfRecords] NSUInteger numberOfRecords)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) insertDataAtIndex: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em></td>
        </tr>
        <tr>
          <td class="paramkey">numberOfRecords:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>numberOfRecords</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Insert records into the plot data cache at the given index. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The starting index of the new records. </td></tr>
    <tr><td class="paramname">numberOfRecords</td><td>The number of records to insert. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7095b4dca95e6e93fb222aa5c0a96bce"></a><!-- doxytag: member="CPTPlot::numberOfFields" ref="a7095b4dca95e6e93fb222aa5c0a96bce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>) <a class="el" href="interface_c_p_t_plot.html#a7095b4dca95e6e93fb222aa5c0a96bce">numberOfFields</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Number of fields in a plot data record. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of fields. </dd></dl>

</div>
</div>
<a class="anchor" id="a26d4458527479b7b55bbd9cfcfadd5d6"></a><!-- doxytag: member="CPTPlot::numberOfLegendEntries" ref="a26d4458527479b7b55bbd9cfcfadd5d6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>) <a class="el" href="interface_c_p_t_plot.html#a26d4458527479b7b55bbd9cfcfadd5d6">numberOfLegendEntries</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The number of legend entries provided by this plot. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of legend entries. </dd></dl>

</div>
</div>
<a class="anchor" id="a9c0c497a111974900062776de03b3738"></a><!-- doxytag: member="CPTPlot::numbersFromDataSourceForField:recordIndexRange:" ref="a9c0c497a111974900062776de03b3738" args="(NSUInteger fieldEnum,[recordIndexRange] NSRange indexRange)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>) numbersFromDataSourceForField: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>fieldEnum</em></td>
        </tr>
        <tr>
          <td class="paramkey">recordIndexRange:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSRange</a>)&#160;</td>
          <td class="paramname"><em>indexRange</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets a range of plot data for the given plot and field. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fieldEnum</td><td>The field index. </td></tr>
    <tr><td class="paramname">indexRange</td><td>The range of the data indexes of interest. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An array of data points. </dd></dl>

</div>
</div>
<a class="anchor" id="ab11593d353d63f2cc8b73c286681352b"></a><!-- doxytag: member="CPTPlot::plotRangeForCoordinate:" ref="ab11593d353d63f2cc8b73c286681352b" args="(CPTCoordinate coord)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_p_t_plot_range.html">CPTPlotRange</a> *) <a class="el" href="interface_c_p_t_plot.html#ab11593d353d63f2cc8b73c286681352b">plotRangeForCoordinate:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7">CPTCoordinate</a>)&#160;</td>
          <td class="paramname"><em>coord</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the smallest plot range that fully encloses the data for a particular coordinate. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">coord</td><td>The coordinate identifier. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The plot range enclosing the data. </dd></dl>

</div>
</div>
<a class="anchor" id="aa82038cde6e710a65e2d04d12f727602"></a><!-- doxytag: member="CPTPlot::plotRangeForField:" ref="aa82038cde6e710a65e2d04d12f727602" args="(NSUInteger fieldEnum)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_p_t_plot_range.html">CPTPlotRange</a> *) <a class="el" href="interface_c_p_t_plot.html#aa82038cde6e710a65e2d04d12f727602">plotRangeForField:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>fieldEnum</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines the smallest plot range that fully encloses the data for a particular field. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fieldEnum</td><td>The field enumerator identifying the field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The plot range enclosing the data. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9db7bb0cac2d54ec7f843c23c48a7eb"></a><!-- doxytag: member="CPTPlot::positionLabelAnnotation:forIndex:" ref="ac9db7bb0cac2d54ec7f843c23c48a7eb" args="(CPTPlotSpaceAnnotation *label,[forIndex] NSUInteger index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) positionLabelAnnotation: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_plot_space_annotation.html">CPTPlotSpaceAnnotation</a> *)&#160;</td>
          <td class="paramname"><em>label</em></td>
        </tr>
        <tr>
          <td class="paramkey">forIndex:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adjusts the position of the data label annotation for the plot point at the given index. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">label</td><td>The annotation for the data label. </td></tr>
    <tr><td class="paramname">index</td><td>The data index for the label. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5321f1ed99f4a88d40b723bb55555d55"></a><!-- doxytag: member="CPTPlot::relabelIndexRange:" ref="a5321f1ed99f4a88d40b723bb55555d55" args="(NSRange indexRange)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) <a class="el" href="interface_c_p_t_plot.html#a5321f1ed99f4a88d40b723bb55555d55">relabelIndexRange:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSRange</a>)&#160;</td>
          <td class="paramname"><em>indexRange</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Marks the receiver as needing to update a range of data labels before the content is next drawn. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">indexRange</td><td>The new indexRange for the labels. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="interface_c_p_t_plot.html#a0947c9947f44847ad89ee01ab762a5c4" title="Marks the receiver as needing to update all data labels before the content is next drawn...">- setNeedsRelabel</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac7a928fc9838d07ac188d4fef2015c07"></a><!-- doxytag: member="CPTPlot::reloadDataInIndexRange:" ref="ac7a928fc9838d07ac188d4fef2015c07" args="(NSRange indexRange)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) <a class="el" href="interface_c_p_t_plot.html#ac7a928fc9838d07ac188d4fef2015c07">reloadDataInIndexRange:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSRange</a>)&#160;</td>
          <td class="paramname"><em>indexRange</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reload plot data in the given index range from the data source immediately. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">indexRange</td><td>The index range to load. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0947c9947f44847ad89ee01ab762a5c4"></a><!-- doxytag: member="CPTPlot::setNeedsRelabel" ref="a0947c9947f44847ad89ee01ab762a5c4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) <a class="el" href="interface_c_p_t_plot.html#a0947c9947f44847ad89ee01ab762a5c4">setNeedsRelabel</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Marks the receiver as needing to update all data labels before the content is next drawn. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>relabelIndexRange() </dd></dl>

</div>
</div>
<a class="anchor" id="a1066e5f68687c2a4f97f19398912d36e"></a><!-- doxytag: member="CPTPlot::titleForLegendEntryAtIndex:" ref="a1066e5f68687c2a4f97f19398912d36e" args="(NSUInteger index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *) <a class="el" href="interface_c_p_t_plot.html#a1066e5f68687c2a4f97f19398912d36e">titleForLegendEntryAtIndex:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The title text of a legend entry. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The index of the desired title. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The title of the legend entry at the requested index. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Source/<a class="el" href="_c_p_t_plot_8h_source.html">CPTPlot.h</a></li>
<li>Source/CPTPlot.m</li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="interface_c_p_t_plot.html">CPTPlot</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
